config.ButtonDir = "blue";
config.StyleUploadDir = "/uploadFile/";
config.InitMode = "EDIT";
config.AutoDetectPasteFromWord = "1";
config.BaseUrl = "0";
config.BaseHref = "/newprt/uploadfile/";
config.AutoRemote = "1";
config.ShowBorder = "0";
config.StateFlag = "1";
config.CssDir = "coolblue";
config.AutoDetectLanguage = "1";
config.DefaultLanguage = "zh-cn";
config.AllowBrowse = "1";
config.AllowImageSize = "5000";
config.AllowFlashSize = "500";
config.AllowMediaSize = "500";
config.AllowFileSize = "5000";
config.AllowRemoteSize = "2000";
config.AllowLocalSize = "2000";

function showToolbar(){

  document.write ("<table border=0 cellpadding=0 cellspacing=0 width='100%' class='Toolbar' id='eWebEditor_Toolbar'><tr><td><div class=yToolbar><SELECT style='width:115px' CLASS=TBGen onchange=\"formatFont('face',this[this.selectedIndex].value);this.selectedIndex=0\">"+lang["FontName"]+"</SELECT><SELECT style='width:55px' CLASS=TBGen onchange=\"formatFont('size',this[this.selectedIndex].value);this.selectedIndex=0\">"+lang["FontSize"]+"</SELECT><DIV CLASS=Btn TITLE='"+lang["File"]+"' onclick=\"showDialog('file.htm', true)\"><IMG CLASS=Ico SRC='buttonimage/blue/file.gif'></DIV></div></td></tr></table>");

}
